<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%><%@taglib
	uri="http://java.sun.com/jsf/core" prefix="f"%><%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="styles/style.css"></link>
<title>Insert title here</title>
</head>
<body>
<f:view >
		<f:loadBundle basename="resources.VisionClickResources" var="msg"/>
		<div class="mainBackground">
			<div class="innerBackground">
				<div class="login" >
				<div class="tableHead" style="width:350px;">
					<h:outputText value="#{msg.Login}"/>
				</div>
				<h:form>
					<h:panelGrid columns="1" width="350" style="margin-left:10px;">
							<h:panelGroup>
									<h:outputText value="#{msg.UserName}"></h:outputText><br/>
									<h:inputText value="#{userBean.userName}" id="userName" styleClass="inputText"></h:inputText>
									<h:messages></h:messages>
							</h:panelGroup>
							<h:panelGroup>
								<h:outputText value="#{msg.UserPassword}"></h:outputText><br/>
								<h:inputSecret value="#{userBean.password}" styleClass="inputText"></h:inputSecret>
							</h:panelGroup>
							<h:panelGroup>
							<h:commandButton value="#{msg.Register}" action="register"></h:commandButton>
							<h:commandButton  value="#{msg.Login}" action="#{userBean.login}"></h:commandButton>
							</h:panelGroup>
						</h:panelGrid>
				</h:form>
			</div>
			</div>
		</div>
		
	</f:view></body>
</html>